$(function() {
	let oDiv = document.getElementsByClassName('alarm-frame')[0];
	console.log(oDiv.style.width)
	oDiv.onmousedown = function(ev){
		ev.preventDefault();
		let disY = ev.clientY - oDiv.offsetTop;
		console.log(disY)
		document.onmousemove = function(ev){
			let t = ev.clientY - disY;
			let h = oDiv.style.height - document.getElementsByClassName('cont')[0].style.height;
//			console.log(oDiv.style.height,document.getElementsByClassName('cont')[0].style.height)
			if(t>0){
				t = 0
			}
			if(t<h){
				t = h
			}
			
		}
	}
})	